#ifndef __SCREEN_EMULATE_H
#define __SCREEN_EMULATE_H

#include "stdio.h"

#define SCREEN_WIDTH   64
#define SCREEN_HEIGHT  64

/* origin is the upper left corner */
unsigned char screen_buff[SCREEN_WIDTH][SCREEN_HEIGHT];

void screen_clear(int sx, int sy, int ex, int ey);

void screen_full_clear();

void screen_fill(int sx, int sy, int ex, int ey);

void screen_draw_point(int x, int y);

void screen_draw_line(int x1, int y1, int x2, int y2);

void screen_draw_rectangle(int x1, int y1, int x2, int y2);

void screen_draw_circle(int x0, int y0, int r);

void screen_show_num(int x, int y, int num, int len, int size);

void screen_show_string(int x, int y, int width, int height, int font_size, int *str);

void screen_show();

#endif